class CreateAccomodations < ActiveRecord::Migration
  def self.up
    create_table :accomodations do |t|
      t.integer :room_id, :null => false
      t.integer :guest_id, :null => false
      t.integer :emp_id, :null => false
      t.date :arrive_date
      t.date :exit_date
      t.boolean :checkedOut

      t.timestamps
    end
  end

  def self.down
    drop_table :accomodations
  end
end
